package com.situ.mall.controller.back;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
// @RequestMapping("/index")
public class IndexController {

	@RequestMapping("/index.action")
	public String getIndexPage() {
		// 视图解析器/springmvc_back.xml 里帮助你声明了 前缀和 后缀,,,,,return "/WEB-INF/back/index.jsp";
		return "index";
	}
	
	@RequestMapping("/indexV1.action")
	public String getIndexV1Page() {
		// return "/WEB-INF/back/index_v1.jsp";
		return "index_v1";
	}
}
